package ru.spbau.database.group3.memoryManager;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: stels
 * Date: 10.02.13
 * Time: 23:16
 */
public class PageHeader implements Serializable {

    public PageHeader(int recordSize, int slotMapSize, int dataIndex) {
        this.recordSize = recordSize;
        this.slotMapSize = slotMapSize;
        this.dataIndex = dataIndex;
    }

    public int getRecordSize() {
        return recordSize;
    }

    public int getSlotMapSize() {
        return slotMapSize;
    }

    public int getDataIndex() {
        return dataIndex;
    }

    private final int recordSize;
    private final int slotMapSize;
    private final int dataIndex;


}
